<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="UTF-8">
      <title>轮播图管理</title>
      <link rel="stylesheet" href="__CSSB__/reset.css">
	  <link rel="stylesheet" href="__CSSB__/advadd.css">
	  <link rel="stylesheet"  href="__CSSB__/advinfo.css"/>
	  <link rel="stylesheet" href="__CSSB__/apa.css">
	  <script type="text/javascript" src="__JSB__/imgformat.js"></script>
	  <script type="text/javascript" src="__JSB__/jquery-3.6.0.min.js"></script>

</head>
	

<body>
    <!-- O组1903010227头部 -->
     <div class="top">
     	{if (session('uNickB'))!=''}
     		<div class="top1">
     			<img  class="top2" src="__IMGB__/mv.jpg">
     			<div>O论坛后台管理</div>
     		</div>
     	{/if}
     	<div class="top3">
     		<li><a href="{:url('deal/mesdeal',['sid' => 0])}">帖子管理</a></li>
     		<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
             <li><a href="{:url('deal/secdeal')}">板块管理</a></li>
             <li><a href="{:url('bindeal/binSecDeal')}">回收站管理</a></li>
             <li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
             <li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
             <li><a href="{:url('admin/apa')}">修改密码</a></li>
             <li><a href="{:url('admin/alogout')}">注销</a></li>
             <li><a href="{:url('O_forum/O/forum')}">论坛前台</a></li>
     		<li style="color: #FFFFFF;">欢迎您： {:session('uNickB')}</li>
     	</div>
     </div>
      <main style="height: 600px;">
		<div id="advadd_top">
	  
			  <span>首页轮播图管理:
			
				<button type="button" id="advadd_a">
					<a href="{:url('advdeal/advadd')}">添加轮播图</a>
					
				</button>
			
			</span>            
			  <form action="" style="flex: 10">
			  <ul> 
				  <li>
					<input type="text" placeholder="" name='check'>
					  <button type="submit" placeholder="">搜索</button>
					  
				  </li>
			  </ul>
		  </form>
		</div>    
    <!-- O组1903010227内容区域 -->
      <div class="advinfo_content" >
            
            <form action="{:url('advdeal/boxinfomodi',['aid'=>input('aid')])}" method="post" enctype="multipart/form-data">
            <div id="advinfo_content_mid" >
            
                    <div id="advinfo_pic" style="margin-top: 100px;">轮播图图片:</div>
					{volist name="box" id='boxrow'}
                    <div id="advinfo_text" >
                    <span id="advinfo_source_text">原图片:</span>
                    <br>
                    <img src="__UPLOAD__/{$boxrow.aimg}" class="source_pic">
                    <input type="file" name="aimg" id="advinfo_file" onchange="fileChange(this);"> <br>
               
                    </div>
                    
                    </div>
                    
                    <div id="advinfo_content_mid" >
            
                    <div id="advinfo_title" >轮播图标题:</div>
			
					 
                    <div id="advinfo_text" >
					<span id="advinfo_source_text">原标题：{$boxrow.atitle}</span><br>
					<input class="advinfo_input_title" type="text" name="atitle" value="{$boxrow.atitle}"> 
                       
                    </div>
                    </div>
            
                    <div id="advinfo_content_mid" >
            
                    <div id="advinfo_bz" style="margin-top: 80px;">轮播图备注:</div>
                    <div id="advinfo_text" >
					<span id="advinfo_source_text" class="advinfo_source_text">原备注：{$boxrow.acontent}</span>
					<br>
                  
                    <textarea id="advinfo_textarea" type="text" name="acontent"  value="{$boxrow.acontent}"> </textarea></div>
                    </div>
            
                    <div id="advinfo_content_mid" >
            
                    <div id="advinfo_addr" style="margin-left: -20px;">轮播图指向地址:</div>
                    <div id="advinfo_text" >
					  <span id="advinfo_source_text" style="padding-left: 12px;">原地址：{$boxrow.apath} </span><br>
                    <input class="advinfo_input_title" type="text" name="apath"  value="{$boxrow.apath}" style="margin-left: 15px;">
            
                  
					</div>
                    
                    </div>
                    {/volist}
                    <div id="advinfo_content_mid" >
            
            		<button class="addvadd_buttons" type="submit" id="b1">确认修改</button>
                    </div>
            
                    </div>
                    
                    </div>
                    </form>
                    <div class="clear"></div>
            </main>
</body>
</html>